package com.audaque.springboot.foshanupload.web.webdemo.controller;

import com.audaque.springboot.foshanupload.core.util.ReflectUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wangyan01
 */

@Slf4j
@RestController
@RequestMapping("tupe")
public class TypeController {


    @GetMapping(value = "/javaTypeYn1")
    public boolean javaTypeYn1() {
        int i = 1;
        return ReflectUtil.javaBaseTypeYn(i);
    }


    @GetMapping(value = "/javaTypeYn2")
    public boolean javaTypeYn2() {
        Integer i = 1;
        return ReflectUtil.javaBaseTypeYn(i);
    }


}
